<!DOCTYPE html>
<html lang="zh">

<head>
	<meta charset="UTF-8" />
	<meta http-equiv="X-UA-Compatible" content="ie=edge" />
	<meta name="Description" content="雷神加速器——双12囤货狂欢，送1888元现金红包" />
	<!-- #include file="newhead.html" -->
	<link rel="stylesheet" type="text/css" href="0/images/css/animate.min.css" />
	<link rel="stylesheet" type="text/css" href="0/images/css/layer.css" />
	<link rel="stylesheet" type="text/css" href="0/images/css/shuang12.css?v=4" />
	<script src="0/images/js/layer1.js" type="text/javascript" charset="utf-8"></script>
	<script src="0/images/js/clipboard.min.js" type="text/javascript" charset="utf-8"></script>
	<script src="0/images/js/dateTime.js" type="text/javascript" charset="utf-8"></script>
	<title>雷神加速器——双12囤货狂欢，送1888元现金红包</title>
	<style>
		.guoqing img {
				vertical-align: top;
			}
			
			b {
				font-weight: bold;
			}
		</style>
</head>

<body style="background: #141414;min-width: 1450px;">
	<script>
		var _hmt = _hmt || [];
		(function () {
			var hm = document.createElement("script");
			hm.src = "https://hm.baidu.com/hm.js?e1d33cb3485e95c77854190560b8871c";
			var s = document.getElementsByTagName("script")[0];
			s.parentNode.insertBefore(hm, s);
		})();
	</script>
	<script>
		var _hmt = _hmt || [];
		(function () {
			var hm = document.createElement("script");
			hm.src = "https://hm.baidu.com/hm.js?0298a6f262a4537caf46200bbe1c6b07";
			var s = document.getElementsByTagName("script")[0];
			s.parentNode.insertBefore(hm, s);
		})();
	</script>
	<!--nav-->
	<div class="nav-box content">
		<img alt="雷神加速器" src="images/images/taocantoppic118.png" class="dingbu-local">

		<div class="banner-box">
			<img alt="雷神加速器" src="images/images/shuang12banner.jpg" class="banner">
			<ul class="jdhd_adBox leigodflex">
				<li class="jdhd_adBoxCell" style="top: -100px;">
					<img src="images/images/shuang12money01.png" />
					<a href="images/soft/leigod_20181127.exe" class="shuang12_btn"><img src="images/images/shuang12xz.png" /></a>
				</li>
				<li class="jdhd_adBoxCell">
					<img src="images/images/shuang12money02.png" />
					<a href="catbuy.html" class="shuang12_btn"><img src="images/images/shuang12buy.png" /></a>
				</li>
				<li class="jdhd_adBoxCell" style="top: -100px;">
					<img src="images/images/shuang12money03.png" />
					<a href="catbuy.html" class="shuang12_btn"><img src="images/images/shuang12buy.png" /></a>
				</li>
			</ul>

		</div>


		<!-- #include file="subnav.html" -->
	</div>

	<!--content-->
	<div class="jfhd_contentBox">
		<div class="jfhd_content" style="position: relative;">
			<div class="jfhd_content1">
				<div class="jfhd_conzone">
					<div class="shuang12_tit">
						<h4 class="shuang12_tit_cell">每购买一次套餐即可参与抽红包 <b>1</b> 次 </h4>
						<h4 class="shuang12_tit_cell">购买8760小时套餐可抽 <b>3</b> 次红包 </h4>
					</div>
					<div class="shuang12_jptit">
						<img src="images/images/shuang12jpname.png" />
					</div>
					<div class="jfhd_conzone_left">
						<div class="shuang11_bao animated" id="award">
							<h5>您还有<small>{homepage_paymoney}</small>次抽奖机会</h5>
							<div class="openbag jdhd_keyong"></div>
							<a class="jfhd_record look_record">查看中奖纪录</a>
						</div>
						<!--中奖啦-->
						<div class="shuang11_award animated hide">
							<h6 class="shuang11_award_subtit">每抽必中 最高1888红包</h6>
							<h5></h5>
							<div class="continue"></div>
							<img src="images/images/shuang12close.png" class="close_redbag" />
							<div class="shuang11_award_look">
								<a class="jfhd_record look_regular">查看规则</a>
								<a class="jfhd_record look_record ">查看中奖纪录</a>
							</div>
						</div>
					</div>
					<div class="jfhd_conzone_right">
						<a class="jfhd_regular look_regular"></a>
						<div class="jfhd_awardname">
							<div class="jfhd_awardname_border">
								<ul>
									<!-- BEGIN commonprizelist 50 -->
									<li>恭喜<span>{nickname}</span>中奖 已抽中<span>{prizename}</span> <time>{optime}</time> </li>
									<!-- end commonprizelist -->
								</ul>
							</div>
						</div>

						<script type="text/javascript">
							$(function () {
								setInterval(function () {
									var $ul = $(".jfhd_awardname_border ul");
									$ul.animate({
										marginTop: "-26px"
									}, 400, function () {
										$ul.find("li").eq(0).appendTo($ul)
										$ul.css("margin-top", "0")
									})
								}, 2000)
							});
						</script>
					</div>
				</div>

			</div>

			<!--邀请好友-->
			<div class="jfhd_content2">
				<div class="jfhd_conzone2">
					<div class="jfhd_conzone2_top">
						<div class="jfhd_copyLink">
							<input type="text" id="copy_content" value="http://user.leigod.com/?op=dospread&id={homepage_ID}" style="height: 50px;" />
							<button id="copyBtn" data-clipboard-action="copy" data-clipboard-target="#copy_content"></button>
							<span class="copy_success"></span>
						</div>
					</div>
				</div>
			</div>

			<div class="jfhd_content3"></div>

			<div class="jfhd_content4">
				<a href="haiwaizhuanti.html" class="linkhaiwai"></a>
			</div>
			<div class="jfhd_content5">
			</div>
			<div class="jfhd_content6">
				<div class="jfhd_conzone5">
					<div class="sjkh_ggh_left">
						<!--<h2>活动说明</h2>-->
						<ul>
							<li>【活动时间】2018年12月11日15:30~2018年12月21日15:00 </li>
							<li>【如何抽奖】
								<dl>
									<dd>1、每购买一次套餐即可参与抽红包1次，购买8760小时套餐可抽红包3次</dd>
									<dd>2. 邀请好友注册并购买任意套餐也可增加抽奖次数。</dd>
								</dl>
							</li>
							<li>
								【奖品发放】
								<dl>
									<dt>1、活动期间，抽中现金红包用户、免单红包用户可根据中奖提示添加发奖客服微信<span style="color: #d80041;">（微信号： service6000)</span>领取奖品； </dt>
									<dd>2、抽中时长卡用户，系统会在24小时内自动将中奖时长充值到您的账户剩余时长里面，兑奖充值成功后可在会员中心查看到兑奖时长</dd>
								</dl>
							</li>
							<li>
								【特别注意】 此活动只针对于雷神超级会员，海外会员不在此活动范围内，参与活动前请仔细阅读活动规则
							</li>
						</ul>
						<h6>本次活动的最终解释权归上海雷神网络科技有限公司所有</h6>
					</div>

					<div class="sjkh_regular_right">
						<img src="images/images/kxj_kfewm.png" />
						<h6>请扫描添加发奖客服微信</h6>
					</div>
				</div>
			</div>

			<!--右侧固定-->
			<div class="jfhd_fixedRightBox">
				<div class="jfhd_fixedRight">
					<img src="images/images/jfhd_default.png" class="jfhd_tx" onerror="nofind()" height="60" style="border-radius: 50%;" />
					<h5 class="jfhd_username" style="height: 21px;margin: 5px auto 0;">{homepage_title}</h5>
					<div class="jfhd_integral">
						<h5 style="cursor: pointer;">您当前剩余抽奖次数</h5>
						<h4 class="currentJifen" style="height: 30px;">{homepage_paymoney}</h4>
					</div>
					<div class="bdsharebuttonbox" data-tag="share_1">
						<!-- 此处添加展示按钮 -->
						<h5>分享到</h5>
						<a class="bds_tsina" data-cmd="tsina"></a>
						<a class="bds_qzone" data-cmd="qzone" href="#"></a>
						<a class="popup_sqq" data-cmd="sqq"></a>
					</div>

				</div>
			</div>

		</div>

	</div>

	<!--foot-->
	<!-- #include file="foot.html" -->
	<!-- #include file="newlogin.html" -->
	<!--钥匙规则-->
	<div class="jfhd_cardBox">
		<div class="jfhd_cardBox_regular">
			<img src="images/images/shuang12_index_close.png" class="cardregular_close" />
			<div class="cardregular">
				<ul>
					<li>【活动时间】2018年12月11日15:30~2018年12月21日15:00 </li>
					<li>【如何抽奖】
						<dl>
							<dd>1、每购买一次套餐即可参与抽红包1次，购买8760小时套餐可抽红包3次</dd>
							<dd>2. 邀请好友注册并购买任意套餐也可增加抽奖次数。</dd>
						</dl>
					</li>
					<li>
						【奖品发放】
						<dl>
							<dt>1、活动期间，抽中现金红包用户、免单红包用户可根据中奖提示添加发奖客服微信<span style="color: #d80041;">（微信号： service6000)</span>领取奖品； </dt>
							<dd>2、抽中时长卡用户，系统会在24小时内自动将中奖时长充值到您的账户剩余时长里面，兑奖充值成功后可在会员中心查看到兑奖时长</dd>
						</dl>
					</li>
					<li>
						【特别注意】 此活动只针对于雷神超级会员，海外会员不在此活动范围内，参与活动前请仔细阅读活动规则
					</li>
				</ul>
				<div>
					<img src="images/images/kxj_kfewm.png" style="display: block;margin: 5px auto;">
					<h6 style="text-align: center;color: #fff;">请扫描添加发奖客服微信</h6>
				</div>
			</div>
		</div>
		<script type="text/javascript">
			$(function () {
				$(".jfhd_regular").on("click", function () {
					$(".jfhd_cardBox").show()
					$("body").css("overflow-y", 'hidden')
				})
				$(".cardregular_close").on("click", function () {
					$(".jfhd_cardBox").hide()
					$("body").css("overflow-y", 'auto')
				})
			})
		</script>
	</div>
	<!--我的抽奖记录-->
	<div class="jfhd_myAwardBox">
		<div class="jfhd_myAward">
			<img src="images/images/shuang12_index_close.png" class="jfhd_myAward_close" />
			<img src="images/images/shuang11noaward.png" class="jfhd_myAward_noaward" />
			<ul class="jfhd_myAward_awardlist">
				<!-- BEGIN myprizelist 10 -->
				<li>
					<h5>{prizename}</h5>
					<h6>{optime}</h6>
				</li>
				<!-- end myprizelist -->
			</ul>
		</div>
		<script type="text/javascript">
			$(function () {
				$(".jfhd_record").on("click", function () {
					var m = "{ShowLogin}".toString();
					if (m == "none") {
						$(".jfhd_myAwardBox").show()
						$("body").css("overflow-y", 'hidden')
						var length = $(".jfhd_myAward_awardlist li").length;
						if (length == 0) {
							$(".jfhd_myAward_awardlist").hide()
							$(".jfhd_myAward_noaward").css("display", "block")
						} else {
							$(".jfhd_myAward_awardlist").show()
							$(".jfhd_myAward_noaward").css("display", "none")
						}

					} else {
						$(".jfhd_myAwardBox").show()
						$("body").css("overflow-y", 'hidden')
						$(".jfhd_myAward_awardlist").hide()
						$(".jfhd_myAward_noaward").css("display", "block")
					}
				})

				$(".jfhd_myAward_close").on("click", function () {
					$(".jfhd_myAwardBox").hide()
					$("body").css("overflow-y", 'auto')
				})
			})
		</script>

	</div>

	<!--温馨提示-->
	<div id="sjkh_tipsBox" style="display:none;">
		<div class="sjkh_tips">
			<img src="images/images/shuang12_index_close.png" class="jfhd_tips_close" />
			<ul class="jfhd_tipslist">
				<li class="jfhd_tips1 sjkh_tips1">
					<h5></h5>
					<h6></h6>
					<div class="jfkh_subt"></div>
					<a class="sjkh_iknow"></a>
				</li>
			</ul>
		</div>
	</div>

</body>

</html>
<script type="text/javascript">
	var awardNum;
	var prizenamed = "抽奖失败，请重试";
	window.onload = function () {
		$("#award").on("click", ".jdhd_keyong", function () {
			if ($(this).hasClass('noclick')) {
				console.log('ban')
				return false;
			}
			$(this).addClass('noclick');
			setTimeout(function () {
				$(".jdhd_keyong").removeClass('noclick');
			}, 2000)
			// 未登录出提示
			if ($(this).hasClass('unlogin')) {
				$(".topLogin").click();
				console.log('unlogin')
				return false;
			}

			var myGrade = "{homepage_paymoney}" || 0;
			if (myGrade >= 1) {
				$.ajax({
					url: "default.aspx?op=act_goodluck&actid=59",
					dataType: "XML",
					success: function (data) {
						console.log(data)
						var result = $(data).find("result").text().toUpperCase();
						prizenamed = $(data).find("message").text();
						if (result == 'OK') {
							$(".shuang11_award").find('h5').text(prizenamed)
							$(".shuang11_bao").addClass("tada");
							setTimeout(function () {
								$(".shuang11_bao").addClass("zoomOutUp");
								setTimeout(function () {
									$(".shuang11_award").show().addClass('zoomInDown')
								}, 1000)
							}, 1000);
						} else {
							var cc = layer.open({
								type: 1,
								shadeClose: true,
								shade: false,
								closeBtn: 1,
								maxmin: false, //开启最大化最小化按钮
								content: $("#sjkh_tipsBox").html(),
								success: function () {
									$("body").css("overflow-y", 'hidden')
									$(".sjkh_tips1 h6").text(prizenamed).css('margin-top', '38px');
									$(".sjkh_tips1 h5").text("");
									$(".sjkh_tips1 .sjkh_iknow").text('朕知道了');
									$(".sjkh_tips").on("click", ".jfhd_tips_close,.sjkh_iknow", function () {
										layer.close(cc)
										$("body").css("overflow-y", 'auto')
									})
								}
							});
						}
					}
				});
			} else {
				var cc = layer.open({
					type: 1,
					shadeClose: true,
					shade: false,
					closeBtn: 1,
					maxmin: false, //开启最大化最小化按钮
					content: $("#sjkh_tipsBox").html(),
					success: function () {
						$("body").css("overflow-y", 'hidden')
						$(".sjkh_tips1 h6").text("您的剩余抽奖次数为0, 暂不能参与抽奖哦~").css('margin-top', '38px');
						$(".sjkh_tips1 h5").text("");
						$(".sjkh_tips1 .sjkh_iknow").attr("href", "catbuy.html").text('立即购买');
						$(".sjkh_tips").on("click", ".jfhd_tips_close,.jfhd_iknow", function () {
							layer.close(cc)
							$("body").css("overflow-y", 'auto')
						})
					}
				});
			}
		});

		//关闭抽奖
		$(".close_redbag,.continue").click(function () {
			window.location.reload();
		})
	};
</script>
<script type="text/javascript">
	$(function () {
		//距离顶部高度小于900,侧栏消失
		$(document).scroll(function () {
			var scrollLength = $(document).scrollTop()
			scrollLength > 1100 ? $(".jfhd_fixedRightBox").addClass("jfhd_fixedRightBox2") : $(".jfhd_fixedRightBox").removeClass("jfhd_fixedRightBox2")
		})

	})
	//分享
	window._bd_share_config = {
		//此处添加分享具体设置
		common: {
			bdText: '雷神加速器——双12囤货狂欢，送1888元现金红包',
			bdDesc: '雷神加速器——双12囤货狂欢，送1888元现金红包',
			bdUrl: 'http://user.leigod.com/?op=dospread&id={homepage_ID}',
		},
		share: [{
			"tag": "share_1",
			"bdSize": 32,
		}]
	}
	//以下为js加载部分
	with (document) 0[(getElementsByTagName('head')[0] || body).appendChild(createElement('script')).src = 'https://static.leigod.cn/static/api/js/share.js?cdnversion=' + ~(-new Date() / 36e5)];

	//构建头像
	jQuery(function () {
		//头像	
		var str = '{homepage_ID}';
		var mulu = str.slice(str.length - 3, str.length - 1);
		console.log(mulu)
		jQuery(".jfhd_tx").attr("src", "images/userface/" + mulu + "/{homepage_ID}.png")

		//判断是否登录
		var m = "{ShowLogin}".toString();
		if (m == "none") {
			console.log("denglule")
		} else {
			$("#copy_content").val("请登录")
			$(".jfhd_integral h5").text("点击登录").addClass("jfhd_denglu")
			$(".openbag").addClass("unlogin")
		}
		//呼出登录界面
		$(".jfhd_integral").on("click", ".jfhd_denglu", function () {
			$(".topLogin").click()
		})

		// 实现复制
		$("#copyBtn").click(function () {
			if (m == "none") {
				var clipboard = new ClipboardJS('#copyBtn');
				clipboard.on('success', function (e) {
					$(".copy_success").show().text("复制成功").delay(2000).fadeOut();
				});
				clipboard.on('error', function (e) {
					$(".copy_success").show().text("复制失败").delay(2000).fadeOut()
				});
			} else {
				$(".topLogin").click()
			}

		})

		//时间过期执行的操作
		if (Time.isOverDue('2018/12/21 15:00:00')) {
			//禁抽奖		
			$("#award").find(".openbag").removeClass('jdhd_keyong');
			var cc = layer.open({
				type: 1,
				shadeClose: true,
				shade: false,
				closeBtn: 1,
				maxmin: false, //开启最大化最小化按钮
				content: $("#sjkh_tipsBox").html(),
				success: function () {
					$("body").css("overflow-y", 'hidden')
					$(".sjkh_tips1 h6").text("活动已过期").css('margin-top', '38px');
					$(".sjkh_tips1 h5").text("");
					$(".sjkh_tips1 .sjkh_iknow").text('朕知道了');
					$(".sjkh_tips").on("click", ".jfhd_tips_close,.sjkh_iknow", function () {
						layer.close(cc)
						$("body").css("overflow-y", 'auto')
					})
				}
			});
		}
	})

	function nofind() {
		var img = event.srcElement;
		img.src = "0/images/images/jfhd_default.png";
		img.onerror = null; // 控制不要一直跳动 
	}
</script>